//
// Created by jizhe hu on 2024/11/5.
//

#ifndef EXAMPLE_LIST_HPP
#define EXAMPLE_LIST_HPP

namespace mystl {

struct list_node{
    int val;
    list_node* next;

    list_node(int _val): val(_val), next(nullptr){}
};

class list {
private:
    list_node* head;
public:
    list(int _val);

    ~list();

    int get_head();
};

}

#endif //EXAMPLE_LIST_HPP
